﻿using SqlSugar;
using System;

namespace WomanMotion.WebApi.Model.Dtos.Users
{
    /// <summary>
    /// 用户返回前端信息
    /// </summary>
    public class UserVM
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 用户头像
        /// </summary>
        public string? Photo { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public long Createdby { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Createdtime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public long Updatedby { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime Updatedtime { get; set; }

        /// <summary>
        /// 是否禁用;1代表启用，0代表禁用
        /// </summary>
        public int Ifdisable { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 角色ID
        /// </summary>
        public long Roleid { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string? Email { get; set; }

        /// <summary>
        /// 微信ID
        /// </summary>
        //public string? Wxid { get; set; }
    }
}